package com.huimingpay.merchant.service;

import com.huimingpay.common.domain.BusinessException;

import java.io.InputStream;

/**
 * ClassName:FileService
 * Package:com.huimingpay.merchant.service
 * Time: 2024/7/22
 */
public interface FileService {


    /**
     * 文件上传
     * @param fileName 文件名称
     * @param inputStream 文件流
     * @return 文件路径(绝对url)
     * @throws BusinessException
     */
    public String upload(String fileName, InputStream inputStream) throws BusinessException;
}
